#ifndef __GAMEGLOBAL_H__
#define __GAMEGLOBAL_H__

#include "cocos2d.h"
#include "Box2D/Box2D.h"
#include "SimpleAudioEngine.h"

USING_NS_CC;

#define EMPTY_STRING ""

typedef enum tagPlantShootState
{
	kWaitShoot,
	kShooting,
} TShootState;

typedef enum tagZombieLiveState
{
	kNormalZombie,
	kInjuryZombie,
	kDamageZombie,
	kDeadZombie,
} TZombieLiveState;

typedef enum tagBulletState
{
	kNormalBullet,
	kExplodingBullet,
	kDeadBullet,
} TBulletState;

typedef enum tagAttackState
{
	kWalking,
	kWarnning,
	kAttacking,
} TAttackState;

typedef enum tagSpriteBrickState 
{
	kSpriteBrickGrabbed,
	kSpriteBrickUngrabbed
} TSpriteBrickState;

typedef enum LayerName{
	kBackGround,
	kLevel,
} TLayerName;

typedef enum tagLayerIndex
{	
	KBGLayer= 0,
	kSceneLayer,
	kControlLayer,	
	kFadeLayer,
	kStruggleLayer,
	kUILayer,
} TLayerIndex;

typedef enum tagSpriteType
{
	kBackgroundSprite = 0,
	kStartTitleSprite,
	kPeaShooterSpriteBrick,
	kPeaShooterSpriteDragBrick,
} TSpriteType;

typedef enum tagMenuName{
	kMenu = 0,
	kMenuItemPause,
	kMenuItemBackTitle,
} TMenuName;

class GameSetting
{
public:
	static	bool		isGameStart;	
};
#endif